<script setup lang="ts">
import type { TabBarOption } from '@/components/TabBar/type'
import TabBar from '@/components/TabBar/index.vue'

defineProps<{
  value: number
}>()

const tabbarOptions: TabBarOption[] = [
  {
    text: '课表',
    icon: 'home',
    path: '/pages/tabBar/courseSchedule/index',
  },
  {
    text: '我的',
    icon: 'photo',
    path: '/pages/tabBar/my/index',
  },
]
</script>

<template>
  <TabBar :options="tabbarOptions" :value="value" />
</template>

<style scoped lang="scss">
</style>
